package com.app.demo.enums;

import com.app.core.mvc.serialization.EnumDefinition;

/**
 * @author qiangt
 */

public enum UserType implements EnumDefinition {
    /**
     * 用户类型
     */
    Dealer("0", "经销商"),
    Operation("1", "运维"),
    Group("2", "组长"),
    ;
    private final String code;
    private final String comment;

    UserType(final String code, final String comment) {
        this.code = code;
        this.comment = comment;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getComment() {
        return this.comment;
    }

}
